Overview

Row

Global sleep overview (3 subjects Night Owl Early Bird Sleepy Bear)

y variable defined on the left remains the same

Row

total sleep overview

Row

total sleep overview (by day of week)

deep sleep variation (by day of week)

Row

_stress_awake (by day of week)

_stress_awake

Corr_Night analysis

Row

Influence from Median_hr_sleep on sleep quality

Influence from median_stress_sleep on sleep quality

Row

Correlation stress & HR

The p-value of the test is less than the significance level alpha = 0.05. We can conclude that hr sleep and stress sleep are significantly correlated with a correlation coefficient beetween 0.64–0.88.

Correlation vigorous_activity_hours & total_sleep_hours

The p-value of the test is more than the significance level alpha = 0.05. We can conclude that variable are not significantly correlated .

Correlation steps & total_sleep_hours

The p-value of the test is more than the significance level alpha = 0.05. We can conclude that variable are not significantly correlated .

Row

**Correlation %_high_stress_30min_before_bedtime & total_sleep_hours**

The p-value of the test is more than the significance level alpha = 0.05. We can conclude that variable are not significantly correlated .

Correlation estimated_sleep_time & total_sleep_hours

The p-value of the test is less (2 participants) than the significance level alpha = 0.05. We can conclude that variable are significantly correlated .

Global corr analysis & ML Models

Row

Correlation

Row

ML decision tree

n= 122 

node), split, n, loss, yval, (yprob)
      * denotes terminal node

 1) root 122 23 0 (0.81147541 0.18852459)  
   2) total_sleep_hours>=7.283333 84  9 0 (0.89285714 0.10714286)  
     4) light_sleep_percentage< 0.7714757 79  6 0 (0.92405063 0.07594937)  
       8) light_sleep_percentage>=0.547778 67  3 0 (0.95522388 0.04477612) *
       9) light_sleep_percentage< 0.547778 12  3 0 (0.75000000 0.25000000)  
        18) awake_percentage< 0.00330662 7  0 0 (1.00000000 0.00000000) *
        19) awake_percentage>=0.00330662 5  2 1 (0.40000000 0.60000000) *
     5) light_sleep_percentage>=0.7714757 5  2 1 (0.40000000 0.60000000) *
   3) total_sleep_hours< 7.283333 38 14 0 (0.63157895 0.36842105)  
     6) light_sleep_percentage< 0.5919124 20  4 0 (0.80000000 0.20000000) *
     7) light_sleep_percentage>=0.5919124 18  8 1 (0.44444444 0.55555556)  
      14) awake_percentage< 0.004608319 3  0 0 (1.00000000 0.00000000) *
      15) awake_percentage>=0.004608319 15  5 1 (0.33333333 0.66666667)  
        30) %_stress_awake>=0.520264 6  2 0 (0.66666667 0.33333333) *
        31) %_stress_awake< 0.520264 9  1 1 (0.11111111 0.88888889) *

Row

Code on demand

Make an email—>